import os
import logging

thisDir = os.path.split(os.path.realpath(__file__))[0]

IGNORE_SESSION_VALIDATE = False

TEST_LOG_PATH = os.path.join(thisDir, "..", "test", "result.log")
TEST_LOG_LEVEL = logging.DEBUG

DB_PATH = "ejo.db"

API_CMD_REG = "[\\w\\.]+"
API_PARAM_NAME_REG = "\\w+"
API_PARAM_VALUE_REG = "[\\w-]*"

DATE_FORMAT = '%Y-%m-%d'
